﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using StudentManagerDAL;
using StudentManagerModels;
using StudentManagerModels.Ext;

namespace StudentManagerBLL
{
    public class ScoreListManager
    {
        private ScoreListService scoreListService = new ScoreListService();
        public Dictionary<string, string> GetScoreInfo()
        {
            return scoreListService.GetScoreInfo();

        }


        public List<string> GetAbsentList()
        {
            return scoreListService.GetAbsentList();
        }

        public Dictionary<string, string> GetScoreInfoByClassId(string classId)
        {
            return scoreListService.GetScoreInfoByClassId(classId);
        }


        public List<string> GetAbsentListByClassId(string classId)
        {
            return scoreListService.GetAbsentListByClassId(classId);
        }


        public List<ExtStudent> GetSCoreList(string className)
        {
            return scoreListService.GetSCoreList(className);
        }


        public DataSet GetAllScoreList()
        {
            return scoreListService.GetAllScoreList();
        }
    }
}
